<!DOCTYPE html>
<html lang="zh-cn">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>图片测试</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
    <style type="text/css">
        body {
            text-align: center;
        }

        #container {
            margin: 0 auto;
            max-width: 210mm;
        }

        #container img {
            /* 2.54 3.18 */
            max-width: 146.4mm;
            max-height: 246.2mm;
            align-self: center;
        }
    </style>
</head>

<body>
    <div id="container">
        <% images.forEach((obj,i)=> {%>
            <img src='/images/<%= obj%>'>
        <% }); %>
    </div>
</body>

</html>